%!TEX program = xelatex
\documentclass[utf8]{article}
\usepackage{ctex}
\usepackage{arydshln} %负责画虚线的包
\begin{document}
\begin{tabular}{|c:c:c:c|}\hline
    auto&short&int&long\\\cdashline{1-4}[0.5pt/0.5pt]
    float&double&char&struct\\\cdashline{1-4}[1pt/1pt]
    union&enum&typedef&const\\\cdashline{1-4}[1pt/1pt]
    unsigned&signed&extern&register\\\cdashline{1-4}[1pt/1pt]
    static&volatile&void&else\\\cdashline{1-4}[1pt/1pt]
    switch&case&for& do\\\cdashline{1-4}[1pt/1pt]
    while&goto&continue&break \\\cdashline{1-4}[1pt/1pt]
    sizeof&return&default&if\\\cdashline{1-4}[1pt/1pt]
    \end{tabular}\\

    \begin{tabular*}{68mm}{|c|c|c|c|}\hline
        auto&short&int&long\\\hline
        float&double&char&struct\\\hline
        union&enum&typedef&const\\\hline
        unsigned&signed&extern&register\\\hline
        static&volatile&void&else\\\hline
        switch&case&for& do\\\hline
        while&goto&continue&break \\\hline
        sizeof&return&default&if\\\hline
        \end{tabular*}\\
\end{document}